package MyFramePro.Domain.Vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)    //这里是链式查询的注解，在 set 和 get 方法之前会返回当前对象
public class BehindMenuTreeVo {

    private Long id;

    private Long parentId;

    private String label;

    private List<BehindMenuTreeVo> children;

}
